package com.sgb.goods.entity;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class AlbumEntity implements Serializable, IPickerViewData {

    public AlbumEntity() {}
    public AlbumEntity(boolean placeholderLogo) {
        this.placeholderLogo = placeholderLogo;
    }

    @SerializedName("id")
    public String id;
    @SerializedName("name")
    public String name;
    @SerializedName("imageUrl")
    public String imageUrl;

    /** 默认的展位图标记 */
    public boolean placeholderLogo;

    @Override
    public String getPickerViewText() {
        return name;
    }
}
